package com.ouc.service;

import com.ouc.entity.Department;

import java.util.List;

/**
 * @Name: DepartmentService
 * @Description:
 * @Author: Mr.Tong
 */
public interface DepartmentService {
    //得到所有的部门信息
    public List<Department> getAllDepartment();

    //根据id获取部门信息
    public Department getDepartmentById(Integer id);

    public Boolean insertDepartment(Department department);

    public Boolean deleteDepartmentById(Integer id);

    public Boolean updateDepartment(Department department);
}
